var CURRENT_SETTINGS_VERSION = 1;
var DEFAULT = {
	version: CURRENT_SETTINGS_VERSION,
	enabled: true,
	isDefault: true,
	anchor: {
		v:0,
		h:2
	},
	offset: {
		x:0,
		y:0
	},
	cutoff: 200,
	bgcolor: 'fef4ac',
	olcolor: 'dabc5c',
	fgcolor: '2c3323'
};
function getDefaultData() {
	if(localStorage["default"]) {
		def = JSON.parse(localStorage["default"]);
		if(def.version != CURRENT_SETTINGS_VERSION) {
			localStorage["default"] = JSON.stringify(DEFAULT);
		}
	} else {
		localStorage["default"] = JSON.stringify(DEFAULT);
	}
	try {
		return JSON.parse(localStorage["default"]);
	} catch(exception) {
		localStorage.removeItem("default");
		return getDefaultData();
	}
}